#ifndef NOTIFY_NOTIFYONLINESTATUSNOTIFICATION_H
#define NOTIFY_NOTIFYONLINESTATUSNOTIFICATION_H

#include "notifynotification.h"

#include <QPixmap>
#include <QPointer>


namespace Account {
class Buddy;
}

namespace Notify {

class OnlineStatusNotification : public Notification
{
    Q_OBJECT

    friend class Manager;

private:
    OnlineStatusNotification(Account::Buddy *buddy, QObject *parent = 0);
    virtual ~OnlineStatusNotification();

private:
    QPixmap m_defaultAvatarPixmap;
    QPointer<Account::Buddy> m_buddy;

public:
    virtual NotificationType notificationType() const;

public:
    QString senderName() const;
    Account::Buddy *sender() const;
    QString text() const;
    QString avatar() const;
    QPixmap avatarPixmap() const;
    bool onlineStatus() const;
};

} // namespace Notify

#endif // NOTIFY_NOTIFYONLINESTATUSNOTIFICATION_H
